//车辆档案列表
export const getCartCodeList = `
query($staff_id:Int,$page:Int,$keywords:String){
getCartCodeList(staff_id:$staff_id,page:$page,keywords:$keywords){
    list{
      id
      code
      line
      staff_name
      createtime
    }
    total
    lastpage
}
}
`;
//获取车辆信息
export const getCart = `
query($cart_id:Int){
  getCart(cart_id:$cart_id)
  {
    id
    code
    images{
        image
    }
    model
    line
    life
    plug_name
    createtime
  }
}
`;
//获取车牌备注列表
export const getCartDesList = `
query($cart_id:Int,$page:Int){
  getCartDesList(cart_id:$cart_id,page:$page)
  {
  list{
    id
    des
    plug_name
    createtime
  }
  total
  lastpage
  }
}
`;
//获取车牌对应的司机
export const getCartDriverList = `
query($cart_id:Int){
  getCartDriverList(cart_id:$cart_id)
  {
  id
  name
  mobile
  }
}
`;